home *** CD-ROM | disk | FTP | other *** search
/ PC World 2006 July & August / PCWorld_2006-07-08_cd.bin / komunikace / apache / apache_2[1].2.2-win32-x86-no_ssl.msi / Data1.cab / _B7EF5BEC0BE3C1057EED7121820FA5EA < prev    next >
Extensible Markup Language  |  2006-01-15  |  21KB  |  373 lines

  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" lang="ko" xml:lang="ko"><head><!--
  4.         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  5.               This file is generated from xml source: DO NOT EDIT
  6.         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  7.       -->
  8. <title>╛╞╞──í└╟ ╚»░µ║»╝÷ - Apache HTTP Server</title>
  9. <link href="./style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
  10. <link href="./style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
  11. <link href="./style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" />
  12. <link href="./images/favicon.ico" rel="shortcut icon" /></head>
  13. <body id="manual-page"><div id="page-header">
  14. <p class="menu"><a href="./mod/">╕≡╡Γ</a> | <a href="./mod/directives.html">┴÷╜├╛ε╡Θ</a> | <a href="./faq/">FAQ</a> | <a href="./glossary.html">┐δ╛ε</a> | <a href="./sitemap.html">╗τ└╠╞«╕╩</a></p>
  15. <p class="apache">Apache HTTP Server Version 2.2</p>
  16. <img alt="" src="./images/feather.gif" /></div>
  17. <div class="up"><a href="./"><img title="<-" alt="<-" src="./images/left.gif" /></a></div>
  18. <div id="path">
  19. <a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs/">Documentation</a> > <a href="./">Version 2.2</a></div><div id="page-content"><div id="preamble"><h1>╛╞╞──í└╟ ╚»░µ║»╝÷</h1>
  20. <div class="toplang">
  21. <p><span>░í┤╔╟╤ ╛≡╛ε: </span><a href="./en/env.html" hreflang="en" rel="alternate" title="English"> en </a> |
  22. <a href="./ja/env.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> |
  23. <a href="./ko/env.html" title="Korean"> ko </a></p>
  24. </div>
  25. <div class="outofdate">└╠ ╣«╝¡┤┬ ├╓╜┼╞╟ ╣°┐¬└╠ ╛╞┤╒┤╧┤┘.
  26.             ├╓▒┘┐í ║»░µ╡╚ │╗┐δ└║ ┐╡╛ε ╣«╝¡╕ª ┬ⁿ░φ╟╧╝╝┐Σ.</div>
  27.  
  28.     <p>╛╞╞──í └Ñ╝¡╣÷┤┬ <em>╚»░µ║»╝÷(environment variable)</em>╢≤┤┬
  29.     ║»╝÷┐í ┴ñ║╕╕ª └·└σ╟╥ ╝÷ └╓┤┘. └╠ ┴ñ║╕╕ª ╗τ┐δ╟╧┐⌐ ╖╬▒╫│¬
  30.     ┴ó▒┘┴ª╛ε ╡ε ┐⌐╖» └█╛≈└╗ ┴╢└²╟╤┤┘. ╢╟, ╚»░µ║»╝÷┤┬ CGI ╜║┼⌐╕│╞«┐═
  31.     ░░└║ ┐▄║╬ ╟┴╖╬▒╫╖Ñ░· ┼δ╜┼╟╧┤┬ ╝÷┤▄└╠ ╡╚┤┘. └╠ ╣«╝¡┤┬ ╚»░µ║»╝÷╕ª
  32.     ┤┘╖τ░φ ╗τ┐δ╟╧┤┬ ┤┘╛τ╟╤ ╣µ╣²╡Θ└╗ ╝│╕φ╟╤┤┘.</p>
  33.  
  34.     <p>└╠ ║»╝÷╡Θ└╗ <em>╚»░µ║»╝÷</em>╢≤░φ ║╬╕ú┴÷╕╕, ┐ε┐╡├╝┴ª┐í╝¡
  35.     ╕╗╟╧┤┬ ╚»░µ║»╝÷┐═ ┤┘╕ú┤┘. └╠ ║»╝÷┤┬ ╛╞╞──í │╗║╬┐í └·└σ╡╟░φ
  36.     ╗τ┐δ╡╚┤┘. ╚»░µ║»╝÷┤┬ CGI ╜║┼⌐╕│╞«│¬ Server Side Include
  37.     ╜║┼⌐╕│╞«╖╬ │╤░▄┴·╢º╕╕ ╜╟┴ª ┐ε┐╡├╝┴ª ╚»░µ║»╝÷░í ╡╚┤┘. ╝¡╣÷╕ª
  38.     ╜╟╟α╟╧┤┬ ┐ε┐╡├╝┴ª ╚»░µ└╗ ╝÷┴ñ╟╧░φ ╜═┤┘╕Θ ┐ε┐╡├╝┴ª ╜⌐┐í╝¡
  39.     ╚»░µ└╗ ╝÷┴ñ╟╪╛▀ ╟╤┤┘.</p>
  40.   </div>
  41. <div id="quickview"><ul id="toc"><li><img alt="" src="./images/down.gif" /> <a href="#setting">╚»░µ║»╝÷ ╝│┴ñ╟╧▒Γ</a></li>
  42. <li><img alt="" src="./images/down.gif" /> <a href="#using">╚»░µ║»╝÷ ╗τ┐δ╟╧▒Γ</a></li>
  43. <li><img alt="" src="./images/down.gif" /> <a href="#special">╞»║░╟╤ ╕±└√└╟ ╚»░µ║»╝÷</a></li>
  44. <li><img alt="" src="./images/down.gif" /> <a href="#examples">┐╣┴ª</a></li>
  45. </ul></div>
  46. <div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
  47. <div class="section">
  48. <h2><a name="setting" id="setting">╚»░µ║»╝÷ ╝│┴ñ╟╧▒Γ</a></h2>
  49.     
  50.     <table class="related"><tr><th>░ⁿ╖├╡╚ ╕≡╡Γ</th><th>░ⁿ╖├╡╚ ┴÷╜├╛ε</th></tr><tr><td><ul><li><code class="module"><a href="./mod/mod_env.html">mod_env</a></code></li><li><code class="module"><a href="./mod/mod_rewrite.html">mod_rewrite</a></code></li><li><code class="module"><a href="./mod/mod_setenvif.html">mod_setenvif</a></code></li><li><code class="module"><a href="./mod/mod_unique_id.html">mod_unique_id</a></code></li></ul></td><td><ul><li><code class="directive"><a href="./mod/mod_setenvif.html#browsermatch">BrowserMatch</a></code></li><li><code class="directive"><a href="./mod/mod_setenvif.html#browsermatchnocase">BrowserMatchNoCase</a></code></li><li><code class="directive"><a href="./mod/mod_env.html#passenv">PassEnv</a></code></li><li><code class="directive"><a href="./mod/mod_rewrite.html#rewriterule">RewriteRule</a></code></li><li><code class="directive"><a href="./mod/mod_env.html#setenv">SetEnv</a></code></li><li><code class="directive"><a href="./mod/mod_setenvif.html#setenvif">SetEnvIf</a></code></li><li><code class="directive"><a href="./mod/mod_setenvif.html#setenvifnocase">SetEnvIfNoCase</a></code></li><li><code class="directive"><a href="./mod/mod_env.html#unsetenv">UnsetEnv</a></code></li></ul></td></tr></table>
  51.  
  52.     <h3><a name="basic-manipulation" id="basic-manipulation">▒Γ║╗└√└╬ ╚»░µ╝│┴ñ</a></h3>
  53.         
  54.  
  55.         <p>╛╞╞──í┐í╝¡ ╚»░µ║»╝÷╕ª ╝│┴ñ╟╧┤┬ ░í└σ ▒Γ║╗└√└╬ ╣µ╣²└║
  56.         ╣½┴╢░╟└√└╬ <code class="directive"><a href="./mod/mod_env.html#setenv">SetEnv</a></code> ┴÷╜├╛ε╕ª ╗τ┐δ╟╧┤┬ ░═└╠┤┘. <code class="directive"><a href="./mod/mod_env.html#passenv">PassEnv</a></code> ┴÷╜├╛ε╕ª ╗τ┐δ╟╧┐⌐
  57.         ╝¡╣÷╕ª ╜├└█╟╤ ╜⌐┐í╝¡ ╚»░µ║»╝÷╕ª ░í┴«┐├ ╝÷╡╡ └╓┤┘.</p>
  58.  
  59.     
  60.     <h3><a name="conditional" id="conditional">┐Σ├╗┐í ╡√╕Ñ ┴╢░╟║╬ ╝│┴ñ</a></h3>
  61.         
  62.  
  63.         <p>┤⌡ └»┐¼╟╧░╘, mod_setenvif░í ┴ª░°╟╧┤┬ ┴÷╜├╛ε┤┬ ┐Σ├╗╕╢┤┘
  64.         ┐Σ├╗└╟ ╞»┬í┐í ╡√╢≤ ╚»░µ║»╝÷╕ª ╝│┴ñ╟╤┤┘. ┐╣╕ª ╡Θ╛ε, ╞»┴ñ
  65.         ║Ω╢≤┐∞└·╖╬ (User-Agent) ┐Σ├╗╟╧░┼│¬ ╞»┴ñ Referer (╕┬├π╣²└╠
  66.         ╞▓╕«┴÷ ╛╩╛╥┤┘) ╟∞┤⌡░í └╓┤┬ ░µ┐∞┐í╕╕ ║»╝÷╕ª ╝│┴ñ╟╥ ╝÷
  67.         └╓┤┘. ╜╔┴÷╛ε mod_rewrite┐í └╓┤┬ <code class="directive"><a href="./mod/mod_rewrite.html#rewriterule">RewriteRule</a></code>└╟
  68.         <code>[E=...]</code> ┐╔╝╟└╗ ╗τ┐δ╟╧┐⌐ ┤⌡ └»┐¼╟╧░╘ ╚»░µ║»╝÷╕ª
  69.         ╝│┴ñ╟╥ ╝÷╡╡ └╓┤┘.</p>
  70.  
  71.     
  72.     <h3><a name="unique-identifiers" id="unique-identifiers">└»└╧╟╤ ╜─║░└┌</a></h3>
  73.         
  74.  
  75.         <p>╕╢┴÷╕╖└╕╖╬ mod_unique_id┤┬ ░ó ┐Σ├╗┐í ┤δ╟╪ ╛ε╢▓ ░µ┐∞┐í╡╡
  76.         "╕≡╡τ" ┐Σ├╗┴▀┐í ╚«╜╟╚≈ └»└╧╟╤(░π─í┴÷╛╩└║) ░¬└╕╖╬
  77.         <code>UNIQUE_ID</code> ╚»░µ║»╝÷╕ª ╝│┴ñ╟╤┤┘.</p>
  78.  
  79.     
  80.     <h3><a name="standard-cgi" id="standard-cgi">╟Ñ┴╪ CGI ║»╝÷</a></h3>
  81.         
  82.  
  83.         <p>CGI ╜║┼⌐╕│╞«┐═ SSI ╣«╝¡┤┬ ╛╞╞──í ╝│┴ñ┐í╝¡ ╝│┴ñ╟╧┐┤░┼│¬
  84.         ╜⌐┐í╝¡ ░í┴«┐┬ ╚»░µ║»╝÷ ┐▄┐í ├▀░í╖╬ <a href="http://cgi-spec.golux.com/">CGI ▒╘╛α</a>└╠ ▒╘┴ñ╟╤
  85.         ┐Σ├╗┐í ┤δ╟╤ ┴ñ║╕╕ª ╛╦╖┴┴╓┤┬ ╚»░µ║»╝÷╡Θ└╗ ╣▐┤┬┤┘.</p>
  86.  
  87.     
  88.     <h3><a name="caveats" id="caveats">┴╓└╟╟╥ ┴í</a></h3>
  89.         
  90.  
  91.         <ul>
  92.           <li>╚»░µ╝│┴ñ ┴÷╜├╛ε╕ª ╗τ┐δ╟╧┐⌐ ╟Ñ┴╪ CGI ║»╝÷╕ª ╣½╜├╟╧░┼│¬
  93.           ╝÷┴ñ╟╥ ╝÷ ╛°┤┘.</li>
  94.  
  95.           <li><a href="suexec.html">suexec</a>░í CGI ╜║┼⌐╕│╞«╕ª
  96.           ╜╟╟α╟╧┤┬ ░µ┐∞, ╜├└█╟╧▒Γ└ⁿ┐í CGI ╜║┼⌐╕│╞«└╟ ╚»░µ└║
  97.           <em>╛╚└ⁿ╟╤</em> ║»╝÷╡Θ╕╕ ░í┴÷╡╡╖╧ ├╗╝╥╡╚┤┘.
  98.           <em>╛╚└ⁿ╟╤</em> ║»╝÷ ╕±╖╧└║ ──╞─└╧╜├
  99.           <code>suexec.c</code>┐í ┴ñ└╟╡╚┤┘.</li>
  100.  
  101.           <li>╞≈╞├└╗ └º╟╪ ╚»░µ║»╝÷ └╠╕º┐í┤┬ ┐└┴≈ ╣«└┌, ╝²└┌,
  102.           ╣╪┴┘╣«└┌╕╕ ╗τ┐δ╟╧┤┬ ░═└╠ ┴┴┤┘. ╢╟, ├╣╣°┬░ ╣«└┌╖╬
  103.           ╝²└┌╕ª ╗τ┐δ╟╧┴÷╛╩┤┬ ░═└╠ ┴┴┤┘. CGI ╜║┼⌐╕│╞«│¬ SSI
  104.           ╞Σ└╠┴÷┐í │╤╛ε░Ñ╢º └╠┐▄└╟ ╣«└┌┤┬ ╣╪┴┘╖╬ ┤δ├╝╡╚┤┘.</li>
  105.         </ul>
  106.     
  107.   </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
  108. <div class="section">
  109. <h2><a name="using" id="using">╚»░µ║»╝÷ ╗τ┐δ╟╧▒Γ</a></h2>
  110.     
  111.  
  112.     <table class="related"><tr><th>░ⁿ╖├╡╚ ╕≡╡Γ</th><th>░ⁿ╖├╡╚ ┴÷╜├╛ε</th></tr><tr><td><ul><li><code class="module"><a href="./mod/mod_authz_host.html">mod_authz_host</a></code></li><li><code class="module"><a href="./mod/mod_cgi.html">mod_cgi</a></code></li><li><code class="module"><a href="./mod/mod_ext_filter.html">mod_ext_filter</a></code></li><li><code class="module"><a href="./mod/mod_headers.html">mod_headers</a></code></li><li><code class="module"><a href="./mod/mod_include.html">mod_include</a></code></li><li><code class="module"><a href="./mod/mod_log_config.html">mod_log_config</a></code></li><li><code class="module"><a href="./mod/mod_rewrite.html">mod_rewrite</a></code></li></ul></td><td><ul><li><code class="directive"><a href="./mod/mod_authz_host.html#allow">Allow</a></code></li><li><code class="directive"><a href="./mod/mod_log_config.html#customlog">CustomLog</a></code></li><li><code class="directive"><a href="./mod/mod_authz_host.html#deny">Deny</a></code></li><li><code class="directive"><a href="./mod/mod_ext_filter.html#extfilterdefine">ExtFilterDefine</a></code></li><li><code class="directive"><a href="./mod/mod_headers.html#header">Header</a></code></li><li><code class="directive"><a href="./mod/mod_log_config.html#logformat">LogFormat</a></code></li><li><code class="directive"><a href="./mod/mod_rewrite.html#rewritecond">RewriteCond</a></code></li><li><code class="directive"><a href="./mod/mod_rewrite.html#rewriterule">RewriteRule</a></code></li></ul></td></tr></table>
  113.  
  114.     <h3><a name="cgi-scripts" id="cgi-scripts">CGI ╜║┼⌐╕│╞«</a></h3>
  115.         
  116.  
  117.         <p>╚»░µ║»╝÷└╟ ┴╓╡╚ ┐δ╡╡┴▀ ╟╧│¬┤┬ CGI ╜║┼⌐╕│╞«┐═ ┴ñ║╕╕ª
  118.         ▒│╚»╟╧┤┬ ░═└╠┤┘. ╛╒┐í╝¡ ╝│╕φ╟▀╡φ└╠ ╛╞╞──í ╝│┴ñ┐í╝¡ ╝│┴ñ╟╤
  119.         ║»╝÷┐▄┐í ┐Σ├╗┐í ┤δ╟╤ ╟Ñ┴╪ ┴ñ║╕╕ª ░í┴° ║»╝÷░í CGI ╜║┼⌐╕│╞«╖╬
  120.         │╤╛ε░ú┤┘. ┤⌡ └┌╝╝╟╤ │╗┐δ└║ <a href="howto/cgi.html">CGI
  121.         ┼⌡┼Σ╕«╛≤</a>└╗ ┬ⁿ░φ╟╧╢≤.</p>
  122.  
  123.     
  124.     <h3><a name="ssi-pages" id="ssi-pages">SSI ╞Σ└╠┴÷</a></h3>
  125.         
  126.  
  127.         <p>mod_include└╟ <code>INCLUDES</code> ╟╩┼═░í ├│╕«╟╧┤┬
  128.         ╝¡╣÷╞─╜╠ (SSI) ╣«╝¡┤┬ <code>echo</code> ┐Σ╝╥╕ª ╗τ┐δ╟╧┐⌐
  129.         ╚»░µ║»╝÷╕ª ├Γ╖┬╟╥ ╝÷ └╓░φ, ╚»░µ║»╝÷╕ª ╗τ┐δ╟╧┐⌐ ┐Σ├╗└╟
  130.         ╞»┬í┐í ╡√╢≤ ╚σ╕º┴ª╛ε ┐Σ╝╥╖╬ ╞Σ└╠┴÷└╟ └╧║╬╕ª ║»░µ╟╥ ╝÷
  131.         └╓┤┘. ╛╞╞──í┤┬ ╢╟ SSI ╣«╝¡┐í░╘ └º┐í╝¡ ╝│╕φ╟╤ ╟Ñ┴╪ CGI
  132.         ╚»░µ║»╝÷╕ª ┴ª░°╟╤┤┘. ┤⌡ └┌╝╝╟╤ │╗┐δ└║ <a href="howto/ssi.html">SSI ┼⌡┼Σ╕«╛≤</a>└╗ ┬ⁿ░φ╟╧╢≤.</p>
  133.  
  134.     
  135.     <h3><a name="access-control" id="access-control">┴ó▒┘┴ª╛ε</a></h3>
  136.         
  137.  
  138.         <p><code>allow from env=</code>░· <code>deny from env=</code>
  139.         ┴÷╜├╛ε╕ª ╗τ┐δ╟╧┐⌐ ╚»░µ║»╝÷ ░¬┐í ╡√╢≤ ╝¡╣÷╖╬└╟ ┴ó▒┘└╗
  140.         ┴╢└²╟╥ ╝÷ └╓┤┘. <code class="directive"><a href="./mod/mod_setenvif.html#setenvif">SetEnvIf</a></code>┐═ ░░└╠ ╗τ┐δ╟╧╕Θ
  141.         ┼¼╢≤└╠╛≡╞«└╟ ╞»┬í┐í ╡√╢≤ └┌└»╖╙░╘ ╝¡╣÷╖╬└╟ ┴ó▒┘└╗ ┴ª╛ε╟╥
  142.         ╝÷ └╓┤┘. ┐╣╕ª ╡Θ╛ε, ╞»┴ñ ║Ω╢≤┐∞└·└╟ (User-Agent) ┴ó▒┘└╗
  143.         ░┼║╬╟╥ ╝÷ └╓┤┘.</p>
  144.  
  145.     
  146.     <h3><a name="logging" id="logging">┴╢░╟║╬ ╖╬▒╫</a></h3>
  147.         
  148.  
  149.         <p><code class="directive"><a href="./mod/mod_log_config.html#logformat">LogFormat</a></code>└╟
  150.         <code>%e</code> ┐╔╝╟└╗ ╗τ┐δ╟╧┐⌐ ╚»░µ║»╝÷╕ª ┴ó▒┘ ╖╬▒╫┐í
  151.         ▒Γ╖╧╟╥ ╝÷ └╓┤┘. ╢╟, <code class="directive"><a href="./mod/mod_log_config.html#customlog">CustomLog</a></code> ┴÷╜├╛ε└╟
  152.         ┴╢░╟║╬ ╟ⁿ╜─└╗ ╗τ┐δ╟╧╕Θ ╚»░µ║»╝÷└╟ ╗≤╚▓┐í ╡√╢≤ ┐Σ├╗└╗
  153.         ╖╬▒╫╟╥┴÷ ┐⌐║╬╕ª ░ß┴ñ╟╥ ╝÷ └╓┤┘. <code class="directive"><a href="./mod/mod_setenvif.html#setenvif">SetEnvIf</a></code>┐═ ░░└╠ ╗τ┐δ╟╧┐⌐
  154.         ╛ε╢▓ ┐Σ├╗└╗ ╖╬▒╫╟╥┴÷ └┌└»╖╙░╘ ░ß┴ñ╟╥ ╝÷ └╓┤┘. ┐╣╕ª ╡Θ╛ε,
  155.         ╞─└╧╕φ└╠ <code>gif</code>╖╬ │í│¬┤┬ ┐Σ├╗└║ ╖╬▒╫╟╧┴÷ ╛╩░┼│¬,
  156.         ┐▄║╬ │╫╞«┐≈┐í └╓┤┬ ┼¼╢≤└╠╛≡╞«└╟ ┐Σ├╗╕╕└╗ ╖╬▒╫╟╥ ╝÷ └╓┤┘.</p>
  157.  
  158.     
  159.     <h3><a name="response-headers" id="response-headers">┴╢░╟║╬ └└┤Σ ╟∞┤⌡</a></h3>
  160.         
  161.  
  162.         <p><code class="directive"><a href="./mod/mod_headers.html#header">Header</a></code>
  163.         ┴÷╜├╛ε┤┬ ┼¼╢≤└╠╛≡╞«┐í░╘ └└┤Σ└╗ ║╕│╛╢º ╚»░µ║»╝÷└╟ └»╣½┐í
  164.         ╡√╢≤ ╛ε╢▓ HTTP ╟∞┤⌡╕ª ╞≈╟╘╟╥┴÷ ░ß┴ñ╟╥ ╝÷ └╓┤┘. ┐╣╕ª
  165.         ╡Θ╛ε, ┼¼╢≤└╠╛≡╞«└╟ ┐Σ├╗┐í ╞»┴ñ ╟∞┤⌡░í └╓┤┬ ░µ┐∞┐í╕╕
  166.         ╛ε╢▓ └└┤Σ ╟∞┤⌡╕ª ║╕│╛ ╝÷ └╓┤┘.</p>
  167.  
  168.     
  169.  
  170.     <h3><a name="external-filter" id="external-filter">┐▄║╬ ╟╩┼═ ╜╟╟α╟╧▒Γ</a></h3>
  171.         
  172.  
  173.         <p><code class="module"><a href="./mod/mod_ext_filter.html">mod_ext_filter</a></code>└╟ <code class="directive"><a href="./mod/mod_ext_filter.html#extfilterdefine">ExtFilterDefine</a></code>
  174.         ┴÷╜├╛ε╖╬ ╝│┴ñ╟╤ ┐▄║╬ ╟╩┼═╕ª <code>disableenv=</code>┐═
  175.         <code>enableenv=</code> ┐╔╝╟└╗ ╗τ┐δ╟╧┐⌐ ╚»░µ║»╝÷┐í ╡√╢≤
  176.         ╝▒┼├└√└╕╖╬ ╜╟╟α╟╥ ╝÷ └╓┤┘.</p>
  177.     
  178.  
  179.     <h3><a name="url-rewriting" id="url-rewriting">URL └τ└█╝║(Rewriting)</a></h3>
  180.         
  181.  
  182.         <p><code class="directive"><a href="./mod/mod_rewrite.html#rewritecond">RewriteCond</a></code>└╟
  183.         <em>TestString</em>┐í <code>%{ENV:...}</code> ╟ⁿ╜─└╗
  184.         ╗τ┐δ╟╧╕Θ mod_rewrite└╟ └τ└█╝║ ┐ú┴°└╠ ╚»░µ║»╝÷┐í ╡√╢≤
  185.         ┤┘╕ú░╘ ╟α╡┐╟╤┤┘. mod_rewrite┐í╝¡ ╛╒┐í <code>ENV:</code>╕ª
  186.         ║┘└╠┴÷╛╩░φ ┴ó▒┘╟╧┤┬ ║»╝÷┤┬ ╜╟┴ª ╚»░µ║»╝÷░í ╛╞┤╘└╗ ┴╓└╟╟╧╢≤.
  187.         ▒╫╡Θ└║ ┤┘╕Ñ ╕≡╡Γ┐í╝¡ └╨└╗ ╝÷ ╛°┤┬ mod_rewrite┐í ╟╤┴ñ╡╚
  188.         ║»╝÷┤┘.</p>
  189.     
  190.   </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
  191. <div class="section">
  192. <h2><a name="special" id="special">╞»║░╟╤ ╕±└√└╟ ╚»░µ║»╝÷</a></h2>
  193.     
  194.  
  195.         <p>┼¼╢≤└╠╛≡╞«┐═ ┐°╚░╟╤ ╡┐└█╟╧▒Γ└º╟╪ ╛╞╞──í┤┬ ╞»║░╟╤
  196.         ┼¼╢≤└╠╛≡╞«┐í ┤δ╟╪ └┌╜┼└╟ ╟α╡┐└╗ ╝÷┴ñ╟╤┤┘. ║╕┼δ <code class="directive"><a href="./mod/mod_setenvif.html#browsermatch">BrowserMatch</a></code>┐í╝¡
  197.         ╚»░µ║»╝÷╕ª ┴ñ└╟╟╧┐⌐ └╠╖▒ ╣«┴ª╕ª ╟╪░ß╟╤┤┘. ▒╫╖»│¬ <code class="directive"><a href="./mod/mod_env.html#setenv">SetEnv</a></code>┐═ <code class="directive"><a href="./mod/mod_env.html#passenv">PassEnv</a></code>╖╬╡╡ ░í┤╔╟╧┤┘.</p>
  198.  
  199.     <h3><a name="downgrade" id="downgrade">downgrade-1.0</a></h3>
  200.         
  201.  
  202.         <p>┐Σ├╗└╠ └╠╚─ ╣÷└ⁿ└╗ ╗τ┐δ╟╧┤⌡╢≤╡╡ HTTP/1.0 ┐Σ├╗└╕╖╬
  203.         ├│╕«╟╤┤┘.</p>
  204.  
  205.     
  206.     <h3><a name="force-gzip" id="force-gzip">force-gzip</a></h3>
  207.         
  208.           <p><code>DEFLATE</code> ╟╩┼═╕ª ╗τ┐δ╟╥╢º └╠ ╚»░µ║»╝÷┤┬
  209.           ║Ω╢≤┐∞└·└╟ accept-encoding ╝│┴ñ└╗ ╣½╜├╟╧░φ ╣½┴╢░╟
  210.           ╛╨├α╡╚ ░ß░·╕ª ║╕│╜┤┘.</p>
  211.     
  212.     <h3><a name="force-no-vary" id="force-no-vary">force-no-vary</a></h3>
  213.         
  214.  
  215.         <p>└└┤Σ└╗ ┼¼╢≤└╠╛≡╞«┐í░╘ ║╕│╗▒Γ └ⁿ┐í └└┤Σ ╟∞┤⌡┐í╝¡
  216.         <code>Vary</code> ╟╩╡σ╕ª ╗½┤┘. ╛ε╢▓ ┼¼╢≤└╠╛≡╞«┤┬ └╠
  217.         ╟╩╡σ╕ª ┴ª┤δ╖╬ ╟╪╝«╟╧┴÷ ╕°╟╤┤┘. └╠ ║»╝÷┤┬ └╠╖▒ ╣«┴ª╕ª
  218.         ╟╪░ß╟╤┤┘. ╢╟╟╤, └╠ ║»╝÷┤┬
  219.         <strong>force-response-1.0</strong>└╗ ░í┴ñ╟╤┤┘.</p>
  220.  
  221.     
  222.     <h3><a name="force-response" id="force-response">force-response-1.0</a></h3>
  223.         
  224.  
  225.         <p>HTTP/1.0 ┐Σ├╗└╗ ╟╧┤┬ ┼¼╢≤└╠╛≡╞«┐í░╘ HTTP/1.0 └└┤Σ└╗
  226.         ░¡┴ª╟╤┤┘. ┐°╖í AOL ╟┴╖╧╜├┐í ╣«┴ª░í └╓╛ε╝¡ ╕╕╡Θ╛ε┴│┤┘.
  227.         ╛ε╢▓ HTTP/1.0 ┼¼╢≤└╠╛≡╞«┤┬ HTTP/1.1 └└┤Σ└╗ ╣▐└╕╕Θ ┴ª┤δ╖╬
  228.         ╡┐└█╟╧┴÷ ╛╩└╕╣╟╖╬, └╠ ╣«┴ª╕ª ╟╪░ß╟╧▒Γ└º╟╪ ╗τ┐δ╟╤┤┘.</p>
  229.     
  230.  
  231.     <h3><a name="gzip-only-text-html" id="gzip-only-text-html">gzip-only-text/html</a></h3>
  232.         
  233.  
  234.       <p>░¬└╠ "1"└╠╕Θ <code>text/html</code>└╠ ╛╞┤╤ content-type┐í
  235.       ┤δ╟╪ <code class="module"><a href="./mod/mod_deflate.html">mod_deflate</a></code>└╟ DEFLATE ├Γ╖┬╟╩┼═╕ª
  236.       ╗τ┐δ╟╧┴÷ ╛╩┤┬┤┘. (gzip ╗╙╕╕ ╛╞┤╧╢≤ "identity"░í ╛╞┤╤ ╕≡╡τ
  237.       └╬─┌╡∙└╟) ┴ñ└√└╕╖╬ ╛╨├α╟╤ ╞─└╧└╟ ░µ┐∞┐í╡╡
  238.       <code class="module"><a href="./mod/mod_negotiation.html">mod_negotiation</a></code>└║ └╠ ║»╝÷╕ª ┬ⁿ░φ╟╤┤┘.</p>
  239.     
  240.  
  241.     <h3><a name="no-gzip" id="no-gzip">no-gzip</a></h3>
  242.  
  243.         <p>└╠ ┐╔╝╟└╗ ╝│┴ñ╟╧╕Θ <code class="module"><a href="./mod/mod_deflate.html">mod_deflate</a></code>└╟
  244.         <code>DEFLATE</code> ╟╩┼═╕ª ╗τ┐δ╟╧┴÷ ╛╩░φ,
  245.         <code class="module"><a href="./mod/mod_negotiation.html">mod_negotiation</a></code>└║ └╬─┌╡∙╡╚ └┌┐°└╗
  246.         ║╕│╗┴÷ ╛╩┤┬┤┘.</p>
  247.  
  248.     
  249.  
  250.     <h3><a name="nokeepalive" id="nokeepalive">nokeepalive</a></h3>
  251.         
  252.  
  253.         <p><code class="directive"><a href="./mod/core.html#keepalive">KeepAlive</a></code>╕ª
  254.         ╣½╜├╟╤┤┘.</p>
  255.  
  256.     
  257.  
  258.     <h3><a name="prefer-language" id="prefer-language">prefer-language</a></h3>
  259.  
  260.         <p>└╠ ║»╝÷┤┬ <code class="module"><a href="./mod/mod_negotiation.html">mod_negotiation</a></code>└╟ ╟α╡┐┐í
  261.         ┐╡╟Γ└╗ ╣╠─ú┤┘. ║»╝÷░í (<code>en</code>, <code>ja</code>,
  262.         <code>x-klingon</code> ╡ε) ╛≡╛ε┼┬▒╫╕ª ┤π░φ└╓┤┘╕Θ,
  263.         <code class="module"><a href="./mod/mod_negotiation.html">mod_negotiation</a></code>┤┬ ▒╫ ╛≡╛ε╖╬ ╡╚ ║»╟ⁿ└╗
  264.         ║╕│╗▒µ ╜├╡╡╟╤┤┘. ▒╫╖▒ ║»╟ⁿ└╠ ╛°┤┘╕Θ └╧╣▌└√└╬ <a href="content-negotiation.html">╟∙╗≤</a> ░·┴ñ└╗ ╜├└█╟╤┤┘.</p>
  265.  
  266.     
  267.  
  268.     <h3><a name="redirect-carefully" id="redirect-carefully">redirect-carefully</a></h3>
  269.         
  270.  
  271.         <p>╝¡╣÷░í ┤⌡ ┴╢╜╔╚≈ ┼¼╢≤└╠╛≡╞«┐í░╘ ╕«┤┘└╠╖║╝╟└╗ ║╕│╜┤┘.
  272.         ║╕┼δ ╕«┤┘└╠╖║╝╟└╗ ├│╕«╟╧┤┬╡Ñ ╣«┴ª░í └╓┤┬ ┼¼╢≤└╠╛≡╞«└╗
  273.         └º╟╪ ╗τ┐δ╟╤┤┘. ┐°╖í Microsoft└╟ WebFolders ╝╥╟┴╞«┐■╛ε░í
  274.         DAV ╕▐╜ß╡σ╕ª ┼δ╟╪ ╡≡╖║┼Σ╕« └┌┐°└╟ ╕«┤┘└╠╖║╝╟└╗ ├│╕«╟╧┤┬╡Ñ
  275.         ╣«┴ª░í └╓╛ε╝¡ ╕╕╡Θ╛ε┴│┤┘.</p>
  276.  
  277.     
  278.  
  279.    <h3><a name="suppress-error-charset" id="suppress-error-charset">suppress-error-charset</a></h3>
  280.        
  281.  
  282.     <p><em>2.0.40 └╠╚─ ╣÷└ⁿ┐í └╓┤┘</em></p>
  283.  
  284.     <p>╛╞╞──í░í ┼¼╢≤└╠╛≡╞«└╟ ┐Σ├╗┐í ┤δ╟╤ └└┤Σ└╕╖╬ ╕«┤┘└╠╖║╝╟└╗
  285.     ║╕│╛╢º ┼¼╢≤└╠╛≡╞«░í └┌╡┐└╕╖╬ ╕«┤┘└╠╖║╝╟└╗ ╡√╢≤░í┴÷ ╕°╟╧┤┬(╚ñ└║
  286.     ╛╩┤┬) ░µ┐∞┐í ┤δ║±╟╧┐⌐ └└┤Σ┐í ╗τ┐δ└┌┐í░╘ ║╕┐⌐┴┘ ╣«▒╕╕ª ╞≈╟╘╟╤┤┘.
  287.     ╛╞╞──í┤┬ ║╕┼δ └╠ ▒█└╗ ╛╞╞──í░í ╗τ┐δ╟╧┤┬ ╣«└┌┴²╟╒└╬ ISO-8859-1╖╬
  288.     ╟Ñ╜├╟╤┤┘.</p>
  289.     <p>▒╫╖»│¬ ╕«┤┘└╠╖║╝╟╡╚ ╞Σ└╠┴÷░í ┤┘╕Ñ ╣«└┌┴²╟╒└╗ ╗τ┐δ╟╥ ░µ┐∞
  290.     ╛ε╢▓ └╠╗≤╟╤ ║Ω╢≤┐∞└· ╣÷└ⁿ└║ ╜╟┴ª ╞Σ└╠┴÷░í ╛╞┤╧╢≤ ╕«┤┘└╠╖║╝╟
  291.     ╞Σ└╠┴÷└╟ ╣«└┌┴²╟╒└╗ ╗τ┐δ╟╧╖┴░φ ╟╤┤┘. ┐╣╕ª ╡Θ╛ε, ▒╫╕«╜║╛ε░í
  292.     └╠╗≤╟╧░╘ ║╕└╧ ╝÷ └╓┤┘.</p>
  293.     <p>└╠ ╚»░µ║»╝÷┤┬ ╛╞╞──í░í ╕«┤┘└╠╖║╝╟ ╞Σ└╠┴÷┐í ╣«└┌┴²╟╒└╗
  294.     ╝│┴ñ╟╧┴÷╛╩╡╡╖╧ ╟╧┐⌐, └╠╖▒ ║Ω╢≤┐∞└·░í ╜╟┴ª ╞Σ└╠┴÷└╟ ╣«└┌┴²╟╒└╗
  295.     ┐├╣┘╖╬ ╗τ┐δ╟╧░╘ ╕╕╡τ┤┘.</p>
  296.  
  297.    
  298.  
  299.   </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
  300. <div class="section">
  301. <h2><a name="examples" id="examples">┐╣┴ª</a></h2>
  302.     
  303.  
  304.     <h3><a name="misbehaving" id="misbehaving">└▀╕° ╡┐└█╟╧┤┬ ┼¼╢≤└╠╛≡╞«╡Θ└╗ └º╟╪ ╟┴╖╬┼Σ─▌ ╟α╡┐
  305.         ║»░µ╟╧▒Γ</a></h3>
  306.         
  307.  
  308.         <p>┼¼╢≤└╠╛≡╞«╡Θ└╟ └╠╣╠ ╛╦╖┴┴° ╣«┴ª╕ª ╟╪░ß╟╧▒Γ└º╟╪
  309.         httpd.conf┐í ┤┘└╜ │╗┐δ└╗ ╞≈╟╘╟╧▒µ ╣┘╢⌡┤┘.</p>
  310. <div class="example"><pre>
  311. #
  312. # ┤┘└╜ ┴÷╜├╛ε╡Θ└║ └╧╣▌└√└╬ HTTP └└┤Σ└╗ ║»░µ╟╤┤┘.
  313. # ├╣╣°┬░ ┴÷╜├╛ε┤┬ Netscape 2.x┐═ └╠╕ª ░í└σ╟╤ ║Ω╢≤┐∞└·┐í░╘
  314. # keepalive╕ª ╗τ┐δ╟╧┴÷ ╛╩┤┬┤┘. └╠╡Θ ║Ω╢≤┐∞└· ▒╕╟÷┐í ╣«┴ª░í └╓┤┘.
  315. # ╡╬╣°┬░ ┴÷╜├╛ε┤┬ HTTP/1.1 ▒╕╟÷└╠ └▀╕°╡╟╛·░φ 301└╠│¬ 302
  316. # (╕«┤┘└╠╖║╝╟) └└┤Σ┐í ╗τ┐δ╟╤ keepalive╕ª ┴ª┤δ╖╬ ┴÷┐°╟╧┴÷
  317. # ╕°╟╧┤┬ Microsoft Internet Explorer 4.0b2╕ª └º╟╤ ░═└╠┤┘.
  318. #
  319. BrowserMatch "Mozilla/2" nokeepalive
  320. BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
  321.  
  322. #
  323. # ┤┘└╜ ┴÷╜├╛ε┤┬ ▒Γ║╗└√└╬ HTTP/1.1 └└┤Σ└╗ └╠╟╪╟╧┴÷ ╕°╟╧┐⌐
  324. # HTTP/1.0 ▒╘╛α└╗ ╛ε▒Γ┤┬ ║Ω╢≤┐∞└·┐í░╘ HTTP/1.1 └└┤Σ└╗ ║╕│╗┴÷ ╛╩┤┬┤┘.
  325. #
  326. BrowserMatch "RealPlayer 4\.0" force-response-1.0
  327. BrowserMatch "Java/1\.0" force-response-1.0
  328. BrowserMatch "JDK/1\.0" force-response-1.0</pre></div>
  329.  
  330.     
  331.     <h3><a name="no-img-log" id="no-img-log">┴ó▒┘ ╖╬▒╫┐í └╠╣╠┴÷┐í ┤δ╟╤ ┐Σ├╗└╗ ╖╬▒╫╟╧┴÷ ╛╩▒Γ</a></h3>
  332.         
  333.  
  334.         <p>└╠ ┐╣┴ª┤┬ └╠╣╠┴÷┐í ┤δ╟╤ ┐Σ├╗└╗ ┴ó▒┘ ╖╬▒╫┐í ▒Γ╖╧╟╧┴÷
  335.         ╛╩┤┬┤┘. ╞»┴ñ ╡≡╖║┼Σ╕«┐í ┤δ╟╤ ╚ñ└║ ╞»┴ñ ╚ú╜║╞«┐í╝¡ ┐┬
  336.         ┐Σ├╗└╗ ╖╬▒╫╟╧┴÷ ╛╩╡╡╖╧ ╜▒░╘ ╝÷┴ñ╟╥ ╝÷ └╓┤┘.</p>
  337.     <div class="example"><pre>
  338. SetEnvIf Request_URI \.gif image-request
  339. SetEnvIf Request_URI \.jpg image-request
  340. SetEnvIf Request_URI \.png image-request
  341. CustomLog logs/access_log common env=!image-request</pre></div>
  342.  
  343.     
  344.     <h3><a name="image-theft" id="image-theft">"└╠╣╠┴÷ ╡╡╡╧" ╣µ┴÷</a></h3>
  345.         
  346.  
  347.         <p>└╠ ┐╣┤┬ ╟÷└τ ╝¡╣÷┐▄└╟ ╗τ┐δ└┌░í ╞Σ└╠┴÷┐í ╝¡╣÷┐í └╓┤┬
  348.         └╠╣╠┴÷╕ª ╞≈╟╘╟╧┴÷ ╕°╟╧╡╡╖╧ ╟╧┤┬ ╣µ╣²└╗ ╝│╕φ╟╤┤┘. └╠
  349.         ╝│┴ñ└╗ ▒╟└σ╟╧┴÷┤┬ ╛╩└╕╕τ, ┴ª╟╤╡╚ ░µ┐∞┐í╕╕ ╡┐└█╟╤┤┘.
  350.         ┐∞╕«┤┬ ╕≡╡τ └╠╣╠┴÷░í /web/images ╡≡╖║┼Σ╕« ╛╚┐í └╓┤┘░φ
  351.         ░í┴ñ╟╤┤┘.</p>
  352.     <div class="example"><pre>
  353. SetEnvIf Referer "^http://www.example.com/" local_referal
  354. # Referer ┴ñ║╕╕ª ║╕│╗┴÷ ╛╩┤┬ ║Ω╢≤┐∞└·╕ª ╟π┐δ╟╤┤┘
  355. SetEnvIf Referer "^$" local_referal
  356. <Directory /web/images>
  357.    Order Deny,Allow
  358.    Deny from all
  359.    Allow from env=local_referal
  360. </Directory></pre></div>
  361.  
  362.         <p>└╠ ▒Γ╣²┐í ┤δ╟╤ └┌╝╝╟╤ ╝│╕φ└║ ApacheToday ┼⌡┼Σ╕«╛≤ "<a href="http://apachetoday.com/news_story.php3?ltsn=2000-06-14-002-01-PS">
  363.     Keeping Your Images from Adorning Other Sites</a>"╕ª ┬ⁿ░φ╟╧╢≤.</p>
  364.     
  365.   </div></div>
  366. <div class="bottomlang">
  367. <p><span>░í┤╔╟╤ ╛≡╛ε: </span><a href="./en/env.html" hreflang="en" rel="alternate" title="English"> en </a> |
  368. <a href="./ja/env.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> |
  369. <a href="./ko/env.html" title="Korean"> ko </a></p>
  370. </div><div id="footer">
  371. <p class="apache">Copyright 1995-2006 The Apache Software Foundation or its licensors, as applicable.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
  372. <p class="menu"><a href="./mod/">╕≡╡Γ</a> | <a href="./mod/directives.html">┴÷╜├╛ε╡Θ</a> | <a href="./faq/">FAQ</a> | <a href="./glossary.html">┐δ╛ε</a> | <a href="./sitemap.html">╗τ└╠╞«╕╩</a></p></div>
  373. </body></html>